<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>添加晚归记录</title>

		<link rel="stylesheet"
			href="<%=request.getContextPath()%>/css/common.css" type="text/css" />			
		<script>
			function checkOnSubmit(){
					var studentNo=window.top.frames['apt'].frames['maintain'].document.getElementById("student_info").value;
					document.getElementById("studentno").value=studentNo;
					if(""!=studentNo){
						return true;
					}else{
						alert("请输入学号！！");
						return false;
					}
				}
			
		</script>
		
	</head>

	<body>
		<div id="page_container">
		<jsp:include page="registerinfonav.jsp"></jsp:include>
			<h2>
				学生晚归登记记录
			</h2>
			<!-- 引入学生基本信息页面 -->
			
			<s:form id="mainform" action="registerinfo/insertregisterlate.action"
				method="post" theme="simple" onsubmit="return checkOnSubmit()">
				<s:hidden id="studentno" name="rl.registerlatestudentno" />
				<table class="table_common">
					<tr>
						<td class="td_left">
							晚归理由：
						</td>
						<td class="td_right">
							<s:textarea name="rl.registerlatereason" cols="30"></s:textarea>
						</td>
					</tr>
					<tr class="table_submit">
						<td colspan="2">
							<s:submit cssClass="common_button" value="提交" />
						</td>
					</tr>
				</table>
			</s:form>
			<script type="text/javascript">
			</script>
		</div>
	</body>
</html>